#include "kdcmediaplayerfactoryinterface.h"

#include <kdclib.h>

KDCMediaPlayerFactoryInterface::KDCMediaPlayerFactoryInterface()
{

}

KDCMediaPlayerFactoryInterface::~KDCMediaPlayerFactoryInterface()
{
	qDeleteAll( pList );
}

void KDCMediaPlayerFactoryInterface::addInstance( KDCMediaPlayerInterface *aInstance )
{
	pList.append( aInstance );
}

void KDCMediaPlayerFactoryInterface::deleteInstance( KDCMediaPlayerInterface *aInstance )
{
	pList.removeOne( aInstance );
	deletePtr( aInstance );
}

QString KDCMediaPlayerFactoryInterface::interfaceName() const
{
	return "KDCMediaPlayerFactoryInterface";
}

//#include "kdcmediaplayerfactoryinterface.moc"